/*    */ package nc.vo.scmpub.rule;
/*    */ 
/*    */ import java.util.HashSet;
/*    */ import java.util.Set;
/*    */ import nc.pubimpl.bdlayer.cache.CacheVOQuery;
import nc.util.mmf.framework.base.MMValueCheck;
/*    */ import nc.vo.org.QcCenterVO;
/*    */ import nc.vo.pubapp.pattern.model.entity.bill.IBill;
import nc.vo.pubapp.pattern.pub.PubAppTool;
import nc.vo.qc.c004.entity.RejectBillVO;
import nc.vo.scmpub.util.ValueCheckUtil;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class QcCenterEnableCheckRule<E extends IBill>
/*    */   extends AbstractOrgEnableCheckRule<E>
/*    */ {
		
/*    */   protected Set<String> getDisableOrg(String[] pk_orgs) {
/* 25 */     CacheVOQuery<QcCenterVO> cvq = new CacheVOQuery<QcCenterVO>(QcCenterVO.class, new String[] { "pk_qccenter", "enablestate" });
/*    */ 
/*    */ 
/*    */     
/* 29 */     QcCenterVO[] orgs = (QcCenterVO[])cvq.query(pk_orgs);
/* 30 */     Set<String> disableorgSet = new HashSet<String>();
/* 31 */     for (QcCenterVO org : orgs) {
/* 32 */       if (Integer.valueOf(3).equals(org
/* 33 */           .getEnablestate())) {
/* 34 */         disableorgSet.add(org.getPk_qccenter());
/*    */       }
/*    */     } 
/* 37 */     return disableorgSet;
/*    */   }
/*    */ }


/* Location:              E:\zhuhai_ncc\NCC2111\modules\scmpub\lib\pubscmpub_scmpub.jar!/nc/vo/scmpub/rule/QcCenterEnableCheckRule.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.0.7
 */